package net.qhzw.vip.qiyu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.qhzw.vip.qiyu.entity.Transcity;
import net.qhzw.vip.qiyu.entity.TranscityFree;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TranscityMapper extends BaseMapper<Transcity> {

    void insertTranscities(@Param("transcities") List<Transcity> transcities);

    void insertTranscityFrees(@Param("transcityFrees") List<TranscityFree> transcityFrees);

    //List<Transcity> listTranscityAndArea(@Param("transfeeId") Long transfeeId);

    void deleteBatchByTransfeeIds(@Param("transfeeIds") List<Long> transfeeIds);

    void deleteBatchByTransfeeFreeIds(@Param("transfeeFreeIds") List<Long> transfeeFreeIds);

}
